<template>
  <div class="view-container">

    <el-card class="box-card">

      <div slot="header" class="clearfix">
        <span>文化宣传详情</span>
      </div>
      <el-row>
        <el-col v-text="user.infoTitle" :span="24">标题</el-col>
      </el-row>

      <el-row>
        <el-col :span="24">各种功能</el-col>
      </el-row>

      <el-row>
        <el-col :span="24">主体内容</el-col>
      </el-row>

    </el-card>



  </div>
</template>

<script>
  import menhuapi from "@/api/menhu/wenhuaxuanchuan"
  export default {
    name: "homeAll",
    data() {
      return {
          id:this.$router.id,
        user:{}
      }
    },
    created() {
      console.log(this.id)
      this.all()
    },
    methods: {
      all(){
        menhuapi.xiangqList(this.id).then(res=>{
          this.user = res
          console.log(this.user)
        })
      }
    }
  }
</script>

<style scoped lang="scss">

</style>
